﻿<Window 
    x:Class="Window1"
    xmlns:local="clr-namespace:NumericTextBoxAttachedBehavior"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300">
    <Grid Background="LightGray">
        <TextBox VerticalAlignment="Top" Margin="15"  />
        <TextBox VerticalAlignment="Top" Margin="15, 50" local:NumericTextBoxAttachedBehavior.IsDigitOnly="True" />
    </Grid>
</Window>
